package io.nutz.nutzsite.module.qn.models;

import io.nutz.nutzsite.common.base.BaseModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import org.nutz.dao.entity.annotation.*;
import java.io.Serializable;
					import java.util.Date;
		
/**
 * 问卷任务表 qn_paperdef
 * 
 * @author lrw
 * @date 2020-07-26
 */
@Table("qnpaperdef")
public class Qnpaperdef extends BaseModel implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Name
			@Prev(els=@EL("$me.timeid17()"))
		@Column("id")
	@Comment("问卷编号")
	
	private String id;

		/** 问卷名称 */
	@Column("name")
	@Comment("问卷名称")
	private String name;
	
	@Column("intro")
	@Comment("问卷目的")
	private String intro;
	
		/** 问卷类别 */
	@Column("kmid")
	@Comment("问卷类别")
	private Integer kmid;

		/** 问卷状态0关闭1开放 */
	@Column("status")
	@Comment("问卷状态0关闭1开放")
	private boolean status;

		/** 开始时间 */
	@Column("starttime")
	@Comment("开始时间")
	private Date starttime;

		/** 结束时间 */
	@Column("endtime")
	@Comment("结束时间")
	private Date endtime;

		/** 问卷时长 */
	@Column("duration")
	@Comment("问卷时长")
	private Integer duration;

		/** 禁止交卷时长 */
	@Column("nojj")
	@Comment("禁止交卷时长")
	private Integer nojj;

		/** 创建者 */
	@Column("create_by")
	@Comment("创建者")
	private String createBy;

		/** 创建时间 */
	@Column("create_time")
	@Comment("创建时间")
	private Date createTime;

		/** 修改者 */
	@Column("update_by")
	@Comment("修改者")
	private String updateBy;

		/** 修改时间 */
	@Column("update_time")
	@Comment("修改时间")
	private Date updateTime;

	
	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}

	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public void setKmid(Integer kmid) 
	{
		this.kmid = kmid;
	}

	public Integer getKmid() 
	{
		return kmid;
	}



	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public void setStarttime(Date starttime) 
	{
		this.starttime = starttime;
	}

	public Date getStarttime() 
	{
		return starttime;
	}

	public void setEndtime(Date endtime) 
	{
		this.endtime = endtime;
	}

	public Date getEndtime() 
	{
		return endtime;
	}

	public void setDuration(Integer duration) 
	{
		this.duration = duration;
	}

	public Integer getDuration() 
	{
		return duration;
	}

	public void setNojj(Integer nojj) 
	{
		this.nojj = nojj;
	}

	public Integer getNojj() 
	{
		return nojj;
	}

	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}

	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}

	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

}
